projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb81ac9
)
(get_boot_time): Put local variable used in
author
Gerd Moellmann
<gerd@gnu.org>
Mon, 20 Sep 1999 23:18:45 +0000
(23:18 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Mon, 20 Sep 1999 23:18:45 +0000
(23:18 +0000)
conditinally compiled section in #ifdef.
(toplevel): Include stdio.h.
src/filelock.c
patch
|
blob
|
history
diff --git
a/src/filelock.c
b/src/filelock.c
index ec3fa3cf48c480ffaedb75ca99ebba0202a9c9ea..bcb71cb8c77e80ad6ee1a76f17b98387fa317ddb 100644
(file)
--- a/
src/filelock.c
+++ b/
src/filelock.c
@@
-23,6
+23,7
@@
Boston, MA 02111-1307, USA. */
#include <sys/stat.h>
#include <signal.h>
#include <config.h>
+#include <stdio.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
@@
-125,7
+126,9
@@
extern Lisp_Object Vshell_file_name;
static time_t
get_boot_time ()
{
+#if defined (BOOT_TIME) && ! defined (NO_WTMP_FILE)
int counter;
+#endif
if (boot_time_initialized)
return boot_time;